package com.seabook.easymailservice;

import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.mail.javamail.JavaMailSenderImpl;
import org.apache.velocity.app.VelocityEngine;

public abstract class AbstractMessageSender {
	protected String[] tos;

	protected String[] ccs;
	protected String from;
	protected String subject;
	protected String content;
	protected boolean isHtml;
	
	protected JavaMailSenderImpl sender;
	protected VelocityEngine velocityEngine;

	

	public String[] getCcs() {
		return ccs;
	}

	public void setCcs(String[] ccs) {
		this.ccs = ccs;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public void setJavaMailSender(JavaMailSenderImpl sender) {
		this.sender = sender;
	}

	public void setTos(String[] tos) {
		this.tos = tos;
	}
	
	public boolean isHtml() {
		return isHtml;
	}

	public void setHtml(boolean isHtml) {
		this.isHtml = isHtml;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public VelocityEngine getVelocityEngine() {
		return velocityEngine;
	}

	public void setVelocityEngine(VelocityEngine velocityEngine) {
		this.velocityEngine = velocityEngine;
	}
	
}
